Optimal. Leaf size=371 \[ -\frac {856 b^2 \sqrt {d-c^2 d x^2}}{3375 c^4}+\frac {22 b^2 x^2 \sqrt {d-c^2 d x^2}}{3375 c^2}+\frac {2}{125} b^2 x^4 \sqrt {d-c^2 d x^2}+\frac {4 a b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {4 b^2 x \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {2 b x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^5 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.53, antiderivative size = 371, normalized size of antiderivative = 1.00, number of steps
used = 16, number of rules used = 8, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.276, Rules used = {5926, 5939,
5915, 5879, 75, 5883, 102, 12} \begin {gather*} -\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}-\frac {2 b c x^5 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt {c x-1} \sqrt {c x+1}}+\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac {2 b x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt {c x-1} \sqrt {c x+1}}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}+\frac {4 a b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {c x-1} \sqrt {c x+1}}+\frac {22 b^2 x^2 \sqrt {d-c^2 d x^2}}{3375 c^2}+\frac {2}{125} b^2 x^4 \sqrt {d-c^2 d x^2}-\frac {856 b^2 \sqrt {d-c^2 d x^2}}{3375 c^4}+\frac {4 b^2 x \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt {c x-1} \sqrt {c x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 75
Rule 102
Rule 5879
Rule 5883
Rule 5915
Rule 5926
Rule 5939
Rubi steps
\begin {align*} \int x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx &=\frac {\sqrt {d-c^2 d x^2} \int x^3 \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac {\sqrt {d-c^2 d x^2} \int \frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{5 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (2 b c \sqrt {d-c^2 d x^2}\right ) \int x^4 \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{5 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {2 b c x^5 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac {\left (2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{15 c^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (2 b \sqrt {d-c^2 d x^2}\right ) \int x^2 \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{15 c \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (2 b^2 c^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^5}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{25 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {2}{125} b^2 x^4 \sqrt {d-c^2 d x^2}+\frac {2 b x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^5 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac {\left (2 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {4 x^3}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{125 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (2 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^3}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{45 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (4 b \sqrt {d-c^2 d x^2}\right ) \int \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {2 b^2 x^2 \sqrt {d-c^2 d x^2}}{135 c^2}+\frac {2}{125} b^2 x^4 \sqrt {d-c^2 d x^2}+\frac {4 a b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {2 b x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^5 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac {\left (8 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x^3}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{125 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (4 b^2 \sqrt {d-c^2 d x^2}\right ) \int \cosh ^{-1}(c x) \, dx}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (2 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {2 x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{135 c^2 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {22 b^2 x^2 \sqrt {d-c^2 d x^2}}{3375 c^2}+\frac {2}{125} b^2 x^4 \sqrt {d-c^2 d x^2}+\frac {4 a b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {4 b^2 x \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {2 b x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^5 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac {\left (8 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {2 x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{375 c^2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (4 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{135 c^2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (4 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{15 c^2 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {8 b^2 \sqrt {d-c^2 d x^2}}{27 c^4}+\frac {22 b^2 x^2 \sqrt {d-c^2 d x^2}}{3375 c^2}+\frac {2}{125} b^2 x^4 \sqrt {d-c^2 d x^2}+\frac {4 a b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {4 b^2 x \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {2 b x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^5 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac {\left (16 b^2 \sqrt {d-c^2 d x^2}\right ) \int \frac {x}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{375 c^2 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {856 b^2 \sqrt {d-c^2 d x^2}}{3375 c^4}+\frac {22 b^2 x^2 \sqrt {d-c^2 d x^2}}{3375 c^2}+\frac {2}{125} b^2 x^4 \sqrt {d-c^2 d x^2}+\frac {4 a b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {4 b^2 x \sqrt {d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {2 b x^3 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 b c x^5 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac {1}{5} x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 237, normalized size = 0.64 \begin {gather*} \frac {\sqrt {d-c^2 d x^2} \left (225 a^2 \left (-1+c^2 x^2\right )^2 \left (2+3 c^2 x^2\right )-30 a b c x \sqrt {-1+c x} \sqrt {1+c x} \left (-30-5 c^2 x^2+9 c^4 x^4\right )+2 b^2 \left (428-439 c^2 x^2-16 c^4 x^4+27 c^6 x^6\right )+30 b \left (15 a \left (-1+c^2 x^2\right )^2 \left (2+3 c^2 x^2\right )+b c x \sqrt {-1+c x} \sqrt {1+c x} \left (30+5 c^2 x^2-9 c^4 x^4\right )\right ) \cosh ^{-1}(c x)+225 b^2 \left (-1+c^2 x^2\right )^2 \left (2+3 c^2 x^2\right ) \cosh ^{-1}(c x)^2\right )}{3375 c^4 \left (-1+c^2 x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1283\) vs.
\(2(315)=630\).
time = 2.65, size = 1284, normalized size = 3.46
method | result | size |
default | \(\text {Expression too large to display}\) | \(1284\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 326, normalized size = 0.88 \begin {gather*} -\frac {1}{15} \, b^{2} {\left (\frac {3 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} x^{2}}{c^{2} d} + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}}}{c^{4} d}\right )} \operatorname {arcosh}\left (c x\right )^{2} - \frac {2}{15} \, a b {\left (\frac {3 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} x^{2}}{c^{2} d} + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}}}{c^{4} d}\right )} \operatorname {arcosh}\left (c x\right ) - \frac {1}{15} \, a^{2} {\left (\frac {3 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} x^{2}}{c^{2} d} + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}}}{c^{4} d}\right )} + \frac {2}{3375} \, b^{2} {\left (\frac {27 \, \sqrt {c^{2} x^{2} - 1} c^{2} \sqrt {-d} x^{4} + 11 \, \sqrt {c^{2} x^{2} - 1} \sqrt {-d} x^{2} - \frac {428 \, \sqrt {c^{2} x^{2} - 1} \sqrt {-d}}{c^{2}}}{c^{2}} - \frac {15 \, {\left (9 \, c^{4} \sqrt {-d} x^{5} - 5 \, c^{2} \sqrt {-d} x^{3} - 30 \, \sqrt {-d} x\right )} \operatorname {arcosh}\left (c x\right )}{c^{3}}\right )} - \frac {2 \, {\left (9 \, c^{4} \sqrt {-d} x^{5} - 5 \, c^{2} \sqrt {-d} x^{3} - 30 \, \sqrt {-d} x\right )} a b}{225 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 349, normalized size = 0.94 \begin {gather*} \frac {225 \, {\left (3 \, b^{2} c^{6} x^{6} - 4 \, b^{2} c^{4} x^{4} - b^{2} c^{2} x^{2} + 2 \, b^{2}\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right )^{2} - 30 \, {\left (9 \, a b c^{5} x^{5} - 5 \, a b c^{3} x^{3} - 30 \, a b c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} - 30 \, {\left ({\left (9 \, b^{2} c^{5} x^{5} - 5 \, b^{2} c^{3} x^{3} - 30 \, b^{2} c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} - 15 \, {\left (3 \, a b c^{6} x^{6} - 4 \, a b c^{4} x^{4} - a b c^{2} x^{2} + 2 \, a b\right )} \sqrt {-c^{2} d x^{2} + d}\right )} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) + {\left (27 \, {\left (25 \, a^{2} + 2 \, b^{2}\right )} c^{6} x^{6} - 4 \, {\left (225 \, a^{2} + 8 \, b^{2}\right )} c^{4} x^{4} - {\left (225 \, a^{2} + 878 \, b^{2}\right )} c^{2} x^{2} + 450 \, a^{2} + 856 \, b^{2}\right )} \sqrt {-c^{2} d x^{2} + d}}{3375 \, {\left (c^{6} x^{2} - c^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{3} \sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )^{2}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^3\,{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^2\,\sqrt {d-c^2\,d\,x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________